package com.szwistar.common.comm;

import java.net.SocketAddress;

/**
 * 字符串型的地址
 */
public class StringAddress extends SocketAddress {
	private static final long serialVersionUID = 4382673384959528935L;
	String express;

	public StringAddress(String express) {
		super();
		this.express = express;
	}

	public String getString() {
		return express;
	}

	public void setString(String express) {
		this.express = express;
	}

	@Override
	public String toString() {
		return (express == null) ? "" : express;
	}
}
